
class Banner {
  String? _url;
  String? _img;

  String get url => _url??"";
  String get img => _img??"";

  Banner.fromJson(Map<String, dynamic> json) {
    _url = json['url'];
    _img = json['img'];
  }

  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['url'] = _url;
    data['img'] = _img;
    return data;
  }
}